home *** CD-ROM | disk | FTP | other *** search
/ Aminet 4 / Aminet 4 - November 1994.iso / aminet / dev / amos / amosl0794.lzh / AMOSLIST / 000092_marty@cs.hope.edu_Sun Jul 24 09:25:46 1994.msg < prev    next >
Internet Message Format  |  1994-08-01  |  1KB

  1. Received: from cs.hope.edu (smaug.cs.hope.edu) by nfs1.digex.net with SMTP id AA15363
  2.   (5.67b8/IDA-1.5 for <mcox@access.digex.net>); Sun, 24 Jul 1994 09:25:43 -0400
  3. Received: from samwise.hope.edu by cs.hope.edu (5.0/SMI-SVR4 (Mod 5/10/94.8))
  4.     id AA01545; Sun, 24 Jul 1994 09:25:37 +0500
  5. Received: by samwise.hope.edu (5.0/SMI-SVR4 (frodo TEST))
  6.     id AA07952; Sun, 24 Jul 1994 09:25:35 +0500
  7. Date: Sun, 24 Jul 1994 09:25:35 +0500
  8. From: marty@cs.hope.edu (Ben Marty)
  9. Message-Id: <9407241325.AA07952@samwise.hope.edu>
  10. To: amos-list@access.digex.net, mcox@access.digex.net
  11. Subject: Re: PIPEing
  12. Content-Length: 693
  13. Status: RO
  14.  
  15.     I just a couple days ago wrote a program that takes input from STDIN
  16. and outputs to STDOUT.  But it was on the PC (even though I'm normally and
  17. amiga programmer).  It was to eliminate the chr(7)'s from a file that is
  18. being output so I don't get beeps then TYPEing binary files.  The ways I can
  19. use it are:
  20. TYPE file | quiet
  21. quiet < file
  22. Type file | quiet | more
  23. but NOT:
  24. more < quiet < file  (not on the PC anyway... is there a way to do this?)
  25. If you want to output the results to a file, I think you can go go like this:
  26. type file | quiet > outfile
  27. That would output the original file to outfile without chr(7)'s.
  28. maybe you can even go like this, but I havent tried:
  29. quiet < file > outfile